PowerTCP FTP for .NET
.NET Standard Runtime Licensing


First, ensure a license is activated (see License Activation).

Standard licensing is used if .NET Framework licensing is not (see .NET Framework Runtime Licensing). If you are transitioning a project away from using the legacy licenses.licx technique but targeting Dart .NET Framework assemblies, the licenses.licx file should be removed from the project or Dart component entries removed from the licenses.licx file. If you are upgrading from a previous version, you will need to remove existing references to License.Set() from your code or update them as described in step 4 below.

To generate a runtime license for your application:

  1. With an activated license present, run your application so that a licensed component’s constructor is called (or call Dart.Ftp.License.Create() when your application starts).
  2. The runtime license is created and saved to Dart.Ftp.lic beside Dart.Ftp.dll in the output directory. The runtime license is bound to the application’s assembly name and should be distributed with your application.
  3. If Dart.Ftp.License.Create() was used, remove it from your code.
  4. If distributing Dart.Ftp.lic is undesirable (when using a build server, for example, or to minimize the size of your distribution), then a runtime license string can be used instead:
    1. Use any text editor to open the Dart.Ftp.lic file located in the output directory.
    2. Copy the runtime license string from the first line.
    3. In your application's code, paste the runtime license string in between the quotes of License.Set, as follows:
       Dart.Ftp.License.Set("RuntimeLicenseString");

If desired, you can create a runtime license for your intermediate assembly so it can be used in any application:

  1. Obtain an Extended Distribution Product Key from Dart and activate it. (Purchase may be required.)
  2. Follow the steps above, using Dart.Ftp.License.Create() in step 1.

 


PowerTCP FTP for .NET Documentation Version 6.1
© 2023 Dart Communications. All Rights Reserved.
Send comments on this topic